An Adaptable Constrained Locking Protocol for High Data Contention Environments
نویسندگان
چکیده
Multiversion concurrency control schemes are often limited in their practicability due to their storage requirements for multiple versions of the data. However, a class of multiver-sion schemes utilize only the versions, maintained for the purpose of recovery, to improve the concurrency by allowing the concurrent execution of "non conflicting" read-write lock requests on different versions of data in an arbitrary fashion. A transaction that accesses a data item version which is later diagnosed to lead to a incorrect execution, is aborted. This act is reminiscent of the validation phase in the optimistic concurrency schemes. Various performance studies suggest that these schemes perform poorly in high data contention environments where the excessive transaction aborts result, due to the failed validation. We propose an adaptable constrained two version two phase locking (C2 V2PL) scheme in which these "non conflicting" requests are allowed only in a constrained manner. C2V2PL scheme assumes that a lock request failing to satisfy the specific constraints will lead to an incorrect execution and hence, must be either rejected or blocked. This eliminates the need for a separate validation phase. When the contention for data among the concurrent transactions is high, the C2V2PL scheduler in aggressive state rejects such lock requests. The deadlock free nature of C2V2PL scheduler in this state further reduces the duration for which locks are held by a transaction. The C2V2PL scheduler adapts to the low data contention environments by accepting the lock requests that have failed the specific constraints but contrary to the assumption will not lead to an incorrect execution. Thus improving the performance due to reduced transaction aborts in this conservative state.
منابع مشابه
A Prudent-Precedence Concurrency Control Protocol for High Data Contention Database Enviornments
In this paper, we propose a concurrency control protocol, called the Prudent-Precedence Concurrency Control (PPCC) protocol, for high data contention database environments. PPCC is prudently more aggressive in permitting more serializable schedules than two-phase locking. It maintains a restricted precedence among conflicting transactions and commits the transactions according to the serializat...
متن کاملA flexible contention resolution scheme for QoS provisioning in optical burst switching networks
Contention resolution is a major issue in bufferless optical burst switching (OBS) networks. The existing contention resolution schemes consider priority and arrival time to resolve contention. For most multimedia applications priority and delay are key parameters for QoS provisioning. In this paper, we propose a new signaling protocol for reducing contention in OBS networks and consider three ...
متن کاملTraffic Priority-Aware Adaptive Slot Allocation for Medium Access Control Protocol in Wireless Body Area Network
Biomedical sensors (BMSs) monitor the heterogeneous vital signs of patients. They have diverse Quality of Service (QoS) requirements including reduced collision, delay, loss, and energy consumption in the transmission of data, which are non-constrained, delay-constrained, reliability-constrained, and critical. In this context, this paper proposes a traffic priority-aware adaptive slot allocatio...
متن کاملA Fair Locking Protocol for Multilevel Secure Databases
Most concurrency control algorithms for multilevel secure databases based on kernelized architecture prevent covert channels between transactions at different security levels by preempting the high security transaction in the event of a data conflict with a lower security transaction. In environments with moderate to high levels of contention between low and high security transactions, this can...
متن کاملFairlocks A High Performance Fair Locking Scheme
Over the past several decades, much research has been done in the area of modeling, simulating, and measuring the performance of locking primitives under conditions of low and high contention and with attention to memory locality of the locking data structures. Most of the existing locking primitives are not fair with respect to lock grants and can cause lock starvation among CPUs during high c...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- Information & Software Technology
دوره 42 شماره
صفحات -
تاریخ انتشار 1999